package com.hxkj.mapper;

import com.hxkj.domain.po.IncrementSequence;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
* 数据库操作接口
*
* @author: kezhijie
* @version: 1.0
* @datetime: 2018-09-03 11:05:04
*
*/
@Repository("incrementSequenceMapper")
public interface IncrementSequenceMapper {

    /**
    *
    * 根据主键查询IncrementSequence对象
    *
    * @param id
    * @return IncrementSequence对象
    */
    IncrementSequence selectByPrimaryKey(Long id);

    /**
    *
    * 根据查询条件查询符合条件的IncrementSequence对象
    *
    * @param incrementSequence
    * @return 符合条件的IncrementSequence对象List
    */
    List<IncrementSequence> select(IncrementSequence incrementSequence);

    /**
    *
    * 根据主键删除IncrementSequence对象
    *
    * @param id
    * @return 影响条件数
    */
    int deleteByPrimaryKey(Long id);

    /**
    *
    * 根据条件删除符合条件的IncrementSequence对象
    *
    * @param incrementSequence
    * @return 影响条件数
    */
    int delete(IncrementSequence incrementSequence);

    /**
    *
    * 插入IncrementSequence对象
    *
    * @param incrementSequence
    * @return 影响条件数
    */
    int insert(IncrementSequence incrementSequence);

    /**
    *
    * 更新IncrementSequence对象
    *
    * @param incrementSequence
    * @return 影响条件数
    */
    int update(IncrementSequence incrementSequence);

    /**
     * 查询单条
     * @param incrementSequence
     * @return
     */
    IncrementSequence selectSingle(IncrementSequence incrementSequence);

}
